Xbasic

SQL::TableSnapshotInsertRow Method

Syntax

L InsertRow (Row as SQL::RowSnapshot [, InsertBefore as N = 1 ] )

Arguments

RowSQL::RowSnapshot

A SQL::RowSnapshot that contains the row of data to insert into the table.

InsertBeforeNumeric

Optional. Default value 1. A numeric value that specifies what row to insert the data before. A value of 1 inserts the row at the beginning of the table.

Description

Inserts a RowSnapshot into the collection of row snapshots just prior to the row specified by the argument named InsertBefore.

Discussion

Returns true if the row was inserted and false if there was an error.